﻿namespace Office.Utility.Toolbar
{
    /// <summary>
    /// Event arguments for ToolbarComboBoxEvent
    /// </summary>
    public class ToolbarComboBoxEventArgs : CommandBarEventArgs
    {
        /// <summary>
        /// Gets or sets the index of the combo box.
        /// </summary>
        /// <value>The index.</value>
        public int Index { get; private set; }

        internal ToolbarComboBoxEventArgs(WindowAdapter window, Microsoft.Office.Core.CommandBar bar, int index)
            : base(window, bar)
        {
            Index = index;
        }
    }
}